Solve tan x = -1